package consts

import (
	"gin_demo/internal/cmd"
	"github.com/go-redis/redis/v8"

	"github.com/minio/minio-go/v7"
	"github.com/spf13/viper"
	"go.uber.org/zap"
	"gorm.io/gorm"
)

/*全局调用变量*/

type Config struct {
	Configuration cmd.Configuration
	Viper         *viper.Viper
	Log           *zap.Logger
	DB            *gorm.DB
	Redis         *redis.Client
	MinioClient   *minio.Client
}

var App = new(Config)
